<template>
  <div>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" style="width: 100%;">
      <tr>
        <td width="150">岗位培训管理编号</td>
        <td>{{ item.number }}</td>
        <td width="150">管理部门</td>
        <td>{{ item.manageDeptName }}</td>
      </tr>
      <tr>
        <td>负责人</td>
        <td>{{ item.manageUserName }}</td>
        <td>编制部门</td>
        <td>{{ item.createDeptName }}</td>
      </tr>
    </table>

    <div class="f14 mb20">岗位培训信息如下：</div>
    <table class="table1 owntable tableLayout mb20" border="0" cellspacing="0" cellpadding="1" style="width: 100%;" v-for="(v, k) in item.trainList" :key="index">
      <tr>
        <td width="150">培训岗位</td>
        <td colspan="3">{{ v.postName }}</td>
      </tr>
      <tr>
        <td width="150">岗位人员</td>
        <td colspan="3">{{ v.renyuan }}</td>
      </tr>
      <tr>
        <td>培训类别</td>
        <td>{{ v.trainType == 0 ? '线上' : '线下' }}</td>
        <td>培训方式</td>
        <td>{{ v.trainWay == 0 ? '理论' : '实操' }}</td>
      </tr>
      <tr>
        <td>考核结果</td>
        <td>{{ v.assessmentResults == 0 ? '合格' : '不合格' }}</td>
        <td>培训日期</td>
        <td>{{ v.trainDate }}</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    item: {}
  }
};
</script>

<style></style>
